Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Http Service

Hello,
Notes8 is built on the OSGi/Equinox framework.
The OSGi specification states, the standard implementation has to have an Http service (which is missing only in the mobile specification).
And yes, looking at Eclipse/Equinox3.4, this is true.
I´ve got a simple 'hello world' plugin which works fine if the target platform is 'Equinox'.
What it does:
As a 'service component', it simply connects to the service 'org.osgi.service.http.HttpService' and provides a simple servlet and a static html file.
The port is set to to 1234 via 'run configuration': -Dorg.osgi.service.http.port=1234

A browser can call the plugins content with
http://localhost:1234/TheHtmlPage.html
http://localhost:1234/TheServlet


This example works fine in Eclipse3.4/Equinox3.4.
After moving to Notes8.5.1, it does just nothing.
The problem is, there simply is no http service (org.osgi.service.http.HttpService) which triggers my service component.


Thanks to an example plugin which i´ve got from IBM, i´m now using com.ibm.pvc.webcontainer as a workaround.

On the one side, i see the smart OSGi solution (HttpService) which is satisfied just with a few code lines.
On Notes side, it looks like if i need to use a webserver, which imho is too heavy for a simple servlet.
Drawbacks are: Plugin has to be an 'webproject plugin' (overhead), and the webserver surely needs more resources when running.

Thanks in advance for any advice.


Feedback response number WEBB8ETG7P created by ~Lex Asaniterjip on 03/10/2011

Open Mic Call: All about Notes data... (~Dana Zenkilita... 24.Feb.11)
. . DOLS (~Mario Kiaings 9.Mar.11)
. . Problems losing content of file att... (~Vera Brenikony... 9.Mar.11)
. . . . Known issue (fixed in 8.5.2) (~Tip Opjipymanl... 10.Mar.11)
. . Problems with OpenHelpDocument (~Vera Brenikony... 9.Mar.11)
. . Replica ID change (~Ted Nimkroster... 10.Mar.11)
. . Programatically opening an composit... (~Lex Asaniterji... 10.Mar.11)
. . Access NotesAPI on startup (~Lex Asaniterji... 10.Mar.11)
. . lotus.domino.Session, java.lang.Lin... (~Lex Asaniterji... 10.Mar.11)
. . Http Service (~Lex Asaniterji... 10.Mar.11)
. . Notes error: Index is not to be gen... (~Lex Asaniterji... 10.Mar.11)
. . Problem with NotesDatabaseData clas... (~Lex Asaniterji... 10.Mar.11)
. . Sync databases between domino serve... (~Lorraine Umniz... 15.Mar.11)
. . Running maintenance utilities on ND... (~Mario Desfrees... 16.Mar.11)
. . Answers? (~Vera Brenikony... 31.Mar.11)
. . Are there plans to increase the siz... (~Holly Brefreel... 9.Mar.11)
. . Corrupted Database (~Justin Desfoob... 15.Mar.11)
. . . . Contact (~Miriam Quetama... 25.Apr.12)
. . How do DAOS databases behave? (~Holly Nonresat... 16.Mar.11)
. . Compacting mail.box Database (~Frank Despones... 16.Mar.11)
. . . . Compacting mail boxes (~Holly Nonresat... 29.Jul.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS